package edu.sctu.xialei.May.day20150517three;

/**
 * Created by Administrator on 2015/5/17 0017.
 */
public class SettingDatasOfeachersAndStudents {

    public TeaCher[] set_Teachers() {

        TeaCher []teaChers;

        TeaCher teaCher1 = new TeaCher(12,"张老师","男","教授","英语");
        teaCher1.setStudents("小明同学","小贱同学","小狗同学");

        TeaCher teaCher2 = new TeaCher(42,"乐老师","女","副教授","美术");
        teaCher2.setStudents("小水同学","小明同学","小惨同学");

        TeaCher teaCher3 = new TeaCher(20,"高老师","男","教授","语文");
        teaCher3.setStudents("小贱同学","小狗同学","小水同学");

        teaChers = new TeaCher[]{teaCher1, teaCher2, teaCher3};

        return teaChers;
    }

    public Student[] set_Students(){

        Student []students;

        Student student1 = new Student("小明同学",2,"男","草丛",18, (float) 59.00);
        Student student2 = new Student("小贱同学",5,"女","水下",15, (float) 99.00);
        Student student3 = new Student("小水同学",2,"女","长江边",18, (float) 69.50);
        Student student4 = new Student("小惨同学",2,"男","垃圾桶",17, (float) 15.00);
        Student student5 = new Student("小狗同学",2,"男","森林",19, (float) 66.50);

        students = new Student[]{student1,student2,student3,student4,student5};

        return students;
    }



}